<span>
  {assign var=type value=$switcherParams->value->{$switcherParams->switcher}}
  <span class="default-{$type}" >
    <input type="hidden" name="url" value="{$switcherParams->url}" />
    {foreach from=$switcherParams->datas item=data key=key}
    <input type="radio" name="pageSwitch[{$datas}]" class="pageSwitch[{$key}]" value="{$data->value}" id="pageSwitch-{$datas}-{$key}" {if $data->default || $data->value==$type}checked="checked"{/if}/>
    <label for="pageSwitch-{$datas}-{$key}">{$data->lib}</label>
  {/foreach}
  </span>
</span>